import Vue from "vue";
import App from "./App.vue";

Vue.config.productionTip = false;

new Vue({
  render: (h) => h(App),
}).$mount("#app");

import $ from "jquery";
import "./css/index.css";
// 引入字体图标文件
import "./assets/fonts/iconfont.css";
$(function () {
  $("#app li:nth-child(odd)").css("color", "red");
  $("#app li:nth-child(even)").css("color", "green");
}); // 引入图片-使用
import imgUrl from "./assets/1.gif";
const theImg = document.createElement("img");
theImg.src = imgUrl;
document.body.appendChild(theImg);
const fn = () => {
  console.log("我是箭头函数");
};
console.log(fn);
